# $Rev: 12 $
# $Author: archon810 $
# $Date: 2012-07-25 06:15:23 +0000 (Wed, 25 Jul 2012) $
# $HeadURL: http://wp-copy-tool.googlecode.com/svn/trunk/Settings.pm $
#
#  WP Copy Tool - http://beerpla.net
#  Copyright (C) 2009 Artem Russakovskii
#
#  == BEGIN LICENSE ==
#
#  Licensed under the terms of GNU General Public License Version 2 or later (the "GPL")
#     http://www.gnu.org/licenses/gpl.html
#
#  == END LICENSE ==
#

use strict;
our %settings = ();
our %dbh = ();

#####################
# EDITABLE SETTINGS #
#####################

$settings{max_retries} = 1;
$settings{db_reconnect_interval} = 5;

# customize your binary locations if needed
$settings{mysql_bin_path} = "mysql";
$settings{mysqldump_bin_path} = "mysqldump";
$settings{rsync_bin_path} = "rsync";
$settings{sed_bin_path} = "sed";

$settings{htpasswd_bin_path} = "htpasswd";
$settings{htpasswd2_bin_path} = "htpasswd2";

# wordpress source
$settings{orig_wp_host} = "localhost";
$settings{orig_wp_port} = 3306;
$settings{orig_wp_username} = "";
$settings{orig_wp_password} = "";
$settings{orig_wp_db_name} = "wordpress";
$settings{orig_wp_root_dir} = "/full/path/to/your/original.site";
$settings{orig_wp_options_table} = "wp_options";

# wordpress destination
$settings{new_wp_domain} = "";
$settings{new_wp_host} = "localhost";
$settings{new_wp_port} = 3306;
$settings{new_wp_username} = "";
$settings{new_wp_password} = "";
$settings{new_wp_db_name} = "";
$settings{new_wp_root_dir} = "/full/path/to/your/new.site";
$settings{new_wp_blog_name} = "";
$settings{new_wp_ht_passwd_path} = "$settings{new_wp_root_dir}/.htpasswd";
$settings{new_wp_ht_username} = "staging";
$settings{new_wp_ht_password} = "";

$settings{exclude_dirs} = [qw(lzg_root for_www uploads audio)];
$settings{plugins_to_deactivate} = [qw(wp-super-cache wp-widget-cache stats pingpressfm google-sitemap-generator all-in-one-seo-pack)];

1;
